package com.gooluke.mds.dao;

import com.gooluke.mds.common.annotation.FixedDataSource;
import com.gooluke.mds.common.constants.DataSourceName;
import com.gooluke.mds.domain.entity.TUserInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author gooluke
 */
@Mapper
public interface UserInfoDao {

    @FixedDataSource(DataSourceName.SHANGHAI_01)
    List<TUserInfo> selectUserList(TUserInfo userInfo);

    int insertUser(TUserInfo userInfo);

}
